const BASE_URL = process.env.VUE_APP_BASE_URL
const baseUrl = BASE_URL+ '/cms/';
const cmsBaseUrl = baseUrl + 'template/'
const cmsList = cmsBaseUrl + 'page';
const cmsAllList = cmsBaseUrl + 'list';
const getCms = cmsBaseUrl + 'template';
const addCms = cmsBaseUrl + 'add';
const updateCms = cmsBaseUrl + 'update';
const removeCms = cmsBaseUrl + 'remove';

const newsBaseUrl = baseUrl + 'enterprise/news/';
const newsList = newsBaseUrl + 'page';
const getNews = newsBaseUrl + 'queryById';
const saveNews = newsBaseUrl + 'save';
const removeNews = newsBaseUrl + 'remove';
const publishNews = newsBaseUrl + 'publish';
export default {
  cmsList, cmsAllList, getCms, addCms, updateCms, removeCms,
  newsList, getNews, saveNews, removeNews, publishNews
}
